package com.jlkf.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jlkf.dao.PCIndexPageMapper;
import com.jlkf.pojo.TblCourse;
import com.jlkf.service.PCIndexPageService;
import com.platform.server.response.response.pojo.ReturnData;

@Service
public class PCIndexPageServiceImpl implements PCIndexPageService {
	
	@Autowired
	private PCIndexPageMapper pCIndexPageMapper;

	/**
	 * 查看pc端首页课程
	 */
	@Override
	public ReturnData selectPcIndexPage() {
		List<TblCourse> lists = pCIndexPageMapper.selectPcIndexPage();
		return new ReturnData(lists,200,"成功");
	}

}
